[INFO] fetching crate sentc-crypto 0.15.0...
[INFO] checking sentc-crypto-0.15.0 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate sentc-crypto 0.15.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate sentc-crypto 0.15.0
[INFO] finished tweaking crates.io crate sentc-crypto 0.15.0
[INFO] tweaked toml for crates.io crate sentc-crypto 0.15.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate sentc-crypto 0.15.0 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 235 packages to latest compatible versions
[INFO] [stderr]       Adding base64ct v1.0.1 (available: v1.8.0)
[INFO] [stderr]       Adding subtle v2.4.1 (available: v2.6.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3b890b6c497dfff3b9c9dccdb80add60822cef9777aeade8963efcb745e4726
[INFO] running `Command { std: "docker" "start" "-a" "e3b890b6c497dfff3b9c9dccdb80add60822cef9777aeade8963efcb745e4726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3b890b6c497dfff3b9c9dccdb80add60822cef9777aeade8963efcb745e4726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3b890b6c497dfff3b9c9dccdb80add60822cef9777aeade8963efcb745e4726", kill_on_drop: false }`
[INFO] [stdout] e3b890b6c497dfff3b9c9dccdb80add60822cef9777aeade8963efcb745e4726
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d59f326f10eb2b391f584e733ace50624f934ea8e68c4a3179067728b385649
[INFO] running `Command { std: "docker" "start" "-a" "4d59f326f10eb2b391f584e733ace50624f934ea8e68c4a3179067728b385649", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking base64ct v1.0.1
[INFO] [stderr]     Checking pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sentc-crypto-core v0.15.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking sentc-crypto-common v0.11.0
[INFO] [stderr]     Checking sentc-crypto-utils v0.15.0
[INFO] [stderr]     Checking sentc-crypto v0.15.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::group::test_fn::TestGroup`
[INFO] [stdout]    --> src/group/group.rs:715:44
[INFO] [stdout]     |
[INFO] [stdout] 715 |     use crate::group::test_fn::{create_group, TestGroup};
[INFO] [stdout]     |                                               ^^^^^^^^^ no `TestGroup` in `group::test_fn`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/group/mod.rs:33:11
[INFO] [stdout]     |
[INFO] [stdout] 33  |     pub type TestGroup = crate::keys::std::StdGroup;
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `std_keys` feature
[INFO] [stdout]    --> src/group/mod.rs:32:8
[INFO] [stdout]     |
[INFO] [stdout] 32  |     #[cfg(feature = "std_keys")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/group/mod.rs:35:11
[INFO] [stdout]     |
[INFO] [stdout] 35  |     pub type TestGroup = crate::keys::fips::FipsGroup;
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `fips_keys` feature
[INFO] [stdout]    --> src/group/mod.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout] 34  |     #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/group/mod.rs:37:11
[INFO] [stdout]     |
[INFO] [stdout] 37  |     pub type TestGroup = crate::keys::rec::RecGroup;
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `rec_keys` feature
[INFO] [stdout]    --> src/group/mod.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout] 36  |     #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::user::test_fn::TestUserKeyDataInt`
[INFO] [stdout]   --> src/group/mod.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use crate::user::test_fn::TestUserKeyDataInt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TestUserKeyDataInt` in `user::test_fn`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/user/mod.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub type TestUserKeyDataInt = crate::keys::std::StdUserKeyDataInt;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `std_keys` feature
[INFO] [stdout]   --> src/user/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[cfg(feature = "std_keys")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/user/mod.rs:79:11
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub type TestUserKeyDataInt = crate::keys::fips::FipsUserKeyDataInt;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `fips_keys` feature
[INFO] [stdout]   --> src/user/mod.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |     #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/user/mod.rs:81:11
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub type TestUserKeyDataInt = crate::keys::rec::RecUserKeyDataInt;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `rec_keys` feature
[INFO] [stdout]   --> src/user/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::user::test_fn::TestUser`
[INFO] [stdout]    --> src/user/user.rs:619:124
[INFO] [stdout]     |
[INFO] [stdout] 619 |     use crate::user::test_fn::{create_user, simulate_server_done_login, simulate_server_prepare_login, simulate_verify_login, TestUser};
[INFO] [stdout]     |                                                                                                                               ^^^^^^^^ no `TestUser` in `user::test_fn`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/user/mod.rs:63:11
[INFO] [stdout]     |
[INFO] [stdout] 63  |     pub type TestUser = crate::keys::std::StdUser;
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `std_keys` feature
[INFO] [stdout]    --> src/user/mod.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout] 62  |     #[cfg(feature = "std_keys")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/user/mod.rs:65:11
[INFO] [stdout]     |
[INFO] [stdout] 65  |     pub type TestUser = crate::keys::fips::FipsUser;
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `fips_keys` feature
[INFO] [stdout]    --> src/user/mod.rs:64:12
[INFO] [stdout]     |
[INFO] [stdout] 64  |     #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/user/mod.rs:67:11
[INFO] [stdout]     |
[INFO] [stdout] 67  |     pub type TestUser = crate::keys::rec::RecUser;
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `rec_keys` feature
[INFO] [stdout]    --> src/user/mod.rs:66:12
[INFO] [stdout]     |
[INFO] [stdout] 66  |     #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::util::server`
[INFO] [stdout]   --> src/user/mod.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     use crate::util::server::generate_salt_from_base64_to_string;
[INFO] [stdout]    |                      ^^^^^^ could not find `server` in `util`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/util/mod.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub mod server;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] note: the item is gated behind the `server` feature
[INFO] [stdout]   --> src/util/mod.rs:2:7
[INFO] [stdout]    |
[INFO] [stdout] 2  | #[cfg(feature = "server")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TestSymmetricKey` in this scope
[INFO] [stdout]   --> src/group/mod.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |         Vec<GroupKeyData<TestSymmetricKey, TestSecretKey, TestPublicKey>>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub(crate) fn create_group<TestSymmetricKey>(
[INFO] [stdout]    |                               ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TestSecretKey` in this scope
[INFO] [stdout]   --> src/group/mod.rs:78:38
[INFO] [stdout]    |
[INFO] [stdout] 78 |         Vec<GroupKeyData<TestSymmetricKey, TestSecretKey, TestPublicKey>>,
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub(crate) fn create_group<TestSecretKey>(
[INFO] [stdout]    |                               +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TestPublicKey` in this scope
[INFO] [stdout]   --> src/group/mod.rs:78:53
[INFO] [stdout]    |
[INFO] [stdout] 78 |         Vec<GroupKeyData<TestSymmetricKey, TestSecretKey, TestPublicKey>>,
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub(crate) fn create_group<TestPublicKey>(
[INFO] [stdout]    |                               +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TestHmacKey` in this scope
[INFO] [stdout]   --> src/group/mod.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 |         Vec<TestHmacKey>,
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub(crate) fn create_group<TestHmacKey>(
[INFO] [stdout]    |                               +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TestSortableKey` in this scope
[INFO] [stdout]   --> src/group/mod.rs:81:7
[INFO] [stdout]    |
[INFO] [stdout] 81 |         Vec<TestSortableKey>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub(crate) fn create_group<TestSortableKey>(
[INFO] [stdout]    |                               +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `salt_string` in this scope
[INFO] [stdout]    --> src/user/mod.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 salt_string,
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `challenge` in this scope
[INFO] [stdout]    --> src/user/mod.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 |             challenge,
[INFO] [stdout]     |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TestUserDataInt` in this scope
[INFO] [stdout]    --> src/user/mod.rs:231:33
[INFO] [stdout]     |
[INFO] [stdout] 231 |     pub(crate) fn create_user() -> TestUserDataInt
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PkFromUserKeyWrapper`
[INFO] [stdout]    --> src/crypto/crypto.rs:210:38
[INFO] [stdout]     |
[INFO] [stdout] 210 |     use sentc_crypto_utils::cryptomat::{PkFromUserKeyWrapper, SkCryptoWrapper, SymKeyCrypto};
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util`
[INFO] [stdout]   --> src/user/mod.rs:59:6
[INFO] [stdout]    |
[INFO] [stdout] 59 |     use crate::util;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey`
[INFO] [stdout]    --> src/crypto/crypto.rs:328:27
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let (head, encrypted) = TestPublicKey::encrypt_raw_with_user_key(&user.user_keys[0].exported_public_key, text.as_bytes()).unwrap();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey`
[INFO] [stdout]    --> src/crypto/crypto.rs:344:27
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let (head, encrypted) = TestPublicKey::encrypt_raw_with_user_key_with_sign(
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey`
[INFO] [stdout]    --> src/crypto/crypto.rs:453:19
[INFO] [stdout]     |
[INFO] [stdout] 453 |         let encrypted = TestPublicKey::encrypt_with_user_key(&user.user_keys[0].exported_public_key, text.as_bytes()).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey`
[INFO] [stdout]    --> src/crypto/crypto.rs:471:19
[INFO] [stdout]     |
[INFO] [stdout] 471 |         let encrypted = TestPublicKey::encrypt_with_user_key_with_sign(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey`
[INFO] [stdout]    --> src/crypto/crypto.rs:553:19
[INFO] [stdout]     |
[INFO] [stdout] 553 |         let encrypted = TestPublicKey::encrypt_string_with_user_key(&user.user_keys[0].exported_public_key, text).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey`
[INFO] [stdout]    --> src/crypto/crypto.rs:571:19
[INFO] [stdout]     |
[INFO] [stdout] 571 |         let encrypted = TestPublicKey::encrypt_string_with_user_key_with_sign(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator`
[INFO] [stdout]    --> src/crypto/crypto.rs:593:30
[INFO] [stdout]     |
[INFO] [stdout] 593 |         let (key, encrypted_key) = TestKeyGenerator::generate_non_register_sym_key(master_key).unwrap();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator`
[INFO] [stdout]    --> src/crypto/crypto.rs:610:23
[INFO] [stdout]     |
[INFO] [stdout] 610 |         let decrypted_key = TestKeyGenerator::decrypt_sym_key(master_key, &encrypted_key).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator`
[INFO] [stdout]    --> src/crypto/crypto.rs:620:30
[INFO] [stdout]     |
[INFO] [stdout] 620 |         let (key, encrypted_key) = TestKeyGenerator::generate_non_register_sym_key_by_public_key(&user.user_keys[0].exported_public_key).unwrap();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator`
[INFO] [stdout]    --> src/crypto/crypto.rs:637:23
[INFO] [stdout]     |
[INFO] [stdout] 637 |         let decrypted_key = TestKeyGenerator::decrypt_sym_key_by_private_key(&user.user_keys[0].private_key, &encrypted_key).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup`
[INFO] [stdout]   --> src/group/mod.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let group = TestGroup::prepare_create(&user.public_key, Some(&user.sign_key), "".to_string()).unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^ use of undeclared type `TestGroup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup`
[INFO] [stdout]    --> src/group/mod.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |             .map(|k| TestGroup::decrypt_group_keys(&user.private_key, k, Some(&user.exported_verify_key)).unwrap())
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `TestGroup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup`
[INFO] [stdout]    --> src/group/mod.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             .map(|k| TestGroup::decrypt_group_hmac_key(&group_keys[0].group_key, k).unwrap())
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `TestGroup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup`
[INFO] [stdout]    --> src/group/mod.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             .map(|k| TestGroup::decrypt_group_sortable_key(&group_keys[0].group_key, k).unwrap())
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `TestGroup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser`
[INFO] [stdout]    --> src/user/mod.rs:236:20
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let out_string = TestUser::register(username, password).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^ use of undeclared type `TestUser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser`
[INFO] [stdout]    --> src/user/mod.rs:241:55
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let (_input, auth_key, master_key_encryption_key) = TestUser::prepare_login(username, password, &server_output).unwrap();
[INFO] [stdout]     |                                                             ^^^^^^^^ use of undeclared type `TestUser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser`
[INFO] [stdout]    --> src/user/mod.rs:245:20
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let done_login = TestUser::done_login(
[INFO] [stdout]     |                          ^^^^^^^^ use of undeclared type `TestUser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser`
[INFO] [stdout]    --> src/user/mod.rs:255:3
[INFO] [stdout]     |
[INFO] [stdout] 255 |         TestUser::verify_login(
[INFO] [stdout]     |         ^^^^^^^^ use of undeclared type `TestUser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sentc-crypto` (lib test) due to 30 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/crypto/crypto.rs:20:79
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn split_head_and_encrypted_data<'a, T: Deserialize<'a>>(data_with_head: &'a [u8]) -> Result<(T, &[u8]), SdkError>
[INFO] [stdout]    |                                                                               ^^                     ----- the same lifetime is elided here
[INFO] [stdout]    |                                                                               |
[INFO] [stdout]    |                                                                               the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn split_head_and_encrypted_data<'a, T: Deserialize<'a>>(data_with_head: &'a [u8]) -> Result<(T, &'a [u8]), SdkError>
[INFO] [stdout]    |                                                                                                       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4d59f326f10eb2b391f584e733ace50624f934ea8e68c4a3179067728b385649", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d59f326f10eb2b391f584e733ace50624f934ea8e68c4a3179067728b385649", kill_on_drop: false }`
[INFO] [stdout] 4d59f326f10eb2b391f584e733ace50624f934ea8e68c4a3179067728b385649
